{% load static %}
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>过渡页</title>
    <link rel="stylesheet" href="{% static 'plugin/bootstrap-3.4.1-dist/css/bootstrap.min.css' %}">
    <link rel="icon" href="{% static 'ico/favicon.ico' %}">
    <style>
        *{
            font-family: 华文新魏, sans-serif;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="jumbotron" style="width: max-content;margin: auto;background-color: initial;margin-top:40px">
        <p>页面将在<span id="Os">3</span>s后跳转</p>
    </div>
</div>
<script>
    var Os=document.getElementById("Os");
    var num=3;
    var timer=setInterval(function () {
        num--;
        Os.innerText=num;
        if(num===0){
            window.location.href='{% url 'app:index' %}';
        }
    },1000)
</script>
</body>
</html>